<?php
class Arm_Filter_Url  extends Zend_Filter
{


    public function filter($value)
    {
       $value = (string) $value;
        $value = strtolower(trim($value, '/\\ '));
      if('' === $value) {
         $value = '/';
         return $value;
      }
      $value = '/' . $value;
      return $value;
    }
    
}